<div class="gallery" data-bind="dxGallery: { loop: true, dataSource: galleryData }"></div><br/>
<div data-bind="dxButton: { text: 'Next item', onClick: showNextItem }"></div>